<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<script type="text/javascript" src="<c:url value="/js/user.js" />"></script>
	<script type="text/javascript" src="<c:url value="/js/jquery-1.11.0.js" />"></script>
	<link href="<c:url value="/css/addUser.css" />" rel="stylesheet">
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>Insert title here</title>
</head>

<body>
	<h2>${statusMsg}</h2>
	<div id="message"></div>
	<form:form action="fetchUserDetails" name="form" method="POST"
		command="user">
		<div class="smart-green" id="updateScreen">
		 <h1>
			Edit/View UserPage
		</h1>
		<table>

			<tr>
				<td>User Name:</td>

				<td><form:input path="username" id="userName" /></td>
			

				<td><input type="button" name="sbmitbtn" value="Search"
					onclick="showUserDetails()" class="button"/></td>

			</tr>

			</table>
					<div id="displayUsers"></div>
			
			
				<a href="back"> <img id="backButton" src="<c:url value="/images/backbutton.jpg" />" alt="Back" height="50" width="50" title="Back"> </a>
			
		
		</div>
	</form:form>

</body>
</html>